/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.pedagio.dominio;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Temporal;

/**
 *
 * @author pedroo
 */
@Entity
public class Fatura extends FormaPagamento {
   
    @Column(name = "vencimento")
    @Temporal(javax.persistence.TemporalType.DATE)
    private Date vencimento;
    
    @Column(name = "valor")
    private Double valor;
    
    @Column(name = "endereco_responsavel")
    private String enderecoResponsavel;
    
    @Column(name = "nome_responsavel")
    private String nomeResponsavel;

    public String getEnderecoResponsavel() {
        return enderecoResponsavel;
    }

    public void setEnderecoResponsavel(String enderecoResponsavel) {
        this.enderecoResponsavel = enderecoResponsavel;
    }

    public String getNomeResponsavel() {
        return nomeResponsavel;
    }

    public void setNomeResponsavel(String nomeResponsavel) {
        this.nomeResponsavel = nomeResponsavel;
    }

    public Double getValor() {
        return valor;
    }

    public void setValor(Double valor) {
        this.valor = valor;
    }

    public Date getVencimento() {
        return vencimento;
    }

    public void setVencimento(Date vencimento) {
        this.vencimento = vencimento;
    }

    @Override
    public String toString() {
        return "com.pedagio.dominio.Fatura[ id=" + getId() + " ]";
    }
    
}
